package com.internetCafes.spms.web.project.entity.vo.projectconfig;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 项目分页返回参数
 * @author Zj
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectPagingVO {

    @ApiModelProperty(value = "数据唯一标识id")
    private Long id;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目状态 1-中标、2-待建、3-在建、4-竣工")
    private Integer statusTag;

    @ApiModelProperty(value = "项目状态")
    private String status;

    @ApiModelProperty(value = "负责人")
    private String employeeName;

    @ApiModelProperty(value = "负责人手机号")
    private String employeeMobile;

    @ApiModelProperty(value = "合同开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date contractStartTime;

    @ApiModelProperty(value = "合同结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date contractEndTime;

    @ApiModelProperty(value = "项目金额(万元)")
    private BigDecimal price;

    @ApiModelProperty(value = "项目到期标识 1-未到期 2-到期预警 3-已到期")
    private Integer expireFlag;

    @ApiModelProperty(value = "到期预警内容")
    private String expireInfo;
}
